package com.ming.service;

import com.ming.pojo.SSMAccount;
import org.springframework.stereotype.Service;

import java.util.List;
//业务层

public interface SSMAccountService {

    // 查 find
    // 查-查询所有
    List<SSMAccount> findSSMAccountAll();
    // 查-精确查找-以id
    //SSMAccount findSSMAccountById(Integer id);
    // 查-精确查找-以name
    //List<SSMAccount> findSSMAccountByNameSingle(String name);
    // 查-模糊查找-以name
    //List<SSMAccount> findSSMAccountByNameMany(String name);

    // 增 save
    void saveSSMAccount(SSMAccount ssmAccount);

    // 改 update
    //void updateSSMAccount(SSMAccount ssmAccount);
    // 删 delete
    //void deleteSSMAccount(Integer id);
}
